# -*- coding:utf-8 -*-
"""
@Time : 2025/03/22 10:50 AM
@Author: linfeng
@Des: schemas模型
"""
from datetime import datetime
from pydantic import Field, BaseModel, field_validator
from typing import Optional, List, Tuple, Union
from schemas.base import BaseResp

class CategoryAddReq(BaseModel):
    cate_name: str
    parent_id: Optional[int] = None
    cate_type: int
    cate_url: Optional[str] = None
    sort: int
    status: int

class CategoryBatchReq(BaseModel):
    id: str
    type: int